import { RequireRole } from "@/app/api/requireAuth";

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <RequireRole allowedRoles={["admin", "student"]}>{children}</RequireRole>
  );
}
